package com.spgf.model.entities.utils;

import android.annotation.SuppressLint;

import com.archtecture.model.enuns.Mensagem;
import com.archtecture.model.exceptions.NegocioException;

@SuppressLint("DefaultLocale")
public abstract class ModelAb implements Cloneable {

	public abstract Integer getCodigo();

	public Object getClone() throws NegocioException {

		try {
			return super.clone();
		} catch (CloneNotSupportedException e) {
			throw new NegocioException(e, Mensagem.ERRO_CLONAGEM);
		}
	}

}
